-- GENERATED SPELL FOR [Horde Axe Thrower] --


function spell0_9458(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(10277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9458', 500, 1)
end

function Sorts_9458(pUnit, Event)
local choix_sorts_9458 = math.random(0, 0)
if choix_sorts_9458 == 0 then
pUnit:RegisterEvent('spell0_9458', 1, 1)
end
end

function mob9458_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9458', math.random(1500, 3000), 1)
end

function mob9458_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9458_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9458_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9458, 1, 'mob9458_Action')
RegisterUnitEvent(9458, 2, 'mob9458_Leave')
RegisterUnitEvent(9458, 3, 'mob9458_Kill')
RegisterUnitEvent(9458, 4, 'mob9458_Die')
